const mongoose = require("mongoose");
mongoose.connect( 'mongodb://127.0.0.1:27017/frontend', {useNewUrlParser: true});
var MembersSchema = new mongoose.Schema({
    name:String,
    age:Number,
    like:String,
    imageUrl:String,
    playStates:Boolean
},{
    versionKey:false
}
);
var MembersModel = mongoose.model('members',MembersSchema)

module.exports = MembersModel